package com.dwxt.community.dao;

import com.dwxt.community.aiequipment.aibin.entity.TrashInner;
import com.dwxt.community.aiequipment.aibin.entity.TrashInnerExample;
import java.util.List;

import com.dwxt.community.aiequipment.aibin.entity.vo.TrashInnerVo;
import org.apache.ibatis.annotations.Param;

public interface TrashInnerMapper {
    int countByExample(TrashInnerExample example);

    int deleteByExample(TrashInnerExample example);

    int insert(TrashInner record);

    int insertSelective(TrashInner record);

    List<TrashInner> selectByExample(TrashInnerExample example);

    int updateByExampleSelective(@Param("record") TrashInner record, @Param("example") TrashInnerExample example);

    int updateByExample(@Param("record") TrashInner record, @Param("example") TrashInnerExample example);

    List<TrashInner> selectByDeviceId(@Param("deviceId") String deviceId);

    int deleteByDeviceId(String deviceId);

    List<TrashInnerVo> selectBySupervisorUserDdy(String id);
    List<TrashInnerVo> selectBySupervisorUserXjy(String id);

}